package com.example.xiaomaotv.entity;

public class Msg {
    private String content;//消息内容
    private  int headImg;//头像
    private  int msgType;//消息类型 0代表发送消息 1代表接受消息
    public static final int TYPE_RECEIVED = 1;  // 接收的消息（对方发送）
    public static final int TYPE_SENT = 0;

    public Msg(String content, int headImg, int msgType) {
        this.content = content;
        this.headImg = headImg;
        this.msgType = msgType;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getHeadImg() {
        return headImg;
    }

    public void setHeadImg(int headImg) {
        this.headImg = headImg;
    }

    public int getMsgType() {
        return msgType;
    }

    public void setMsgType(int msgType) {
        this.msgType = msgType;
    }
}
